﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using YWTSSys.BLL;
using YWTSSys.Library;
using YWTSSys.Model;

namespace YWTSSys.Web.MachineSys.YWTSWeb.yw
{
    public partial class TelRecordDetail : PageBase
    {
        protected override Permission[] PowerKey
        {
            get
            {
                return new Permission[] { Permission.none };
            }
        }
        protected override string DWZRef
        {
            get
            {
                return "MyCustomerMasterList";
            }
        }

        #region 属性 (查询条件)


        protected int TelId
        {
            get
            {
                return GetRequestValue<int>("TelId", 0);

            }
        }

        private TelRecordInfo _objC = null;
        protected TelRecordInfo objC
        {
            get
            {
                if (_objC == null)
                {
                    _objC = TelRecordController.GetByID(TelId);
                }
                return _objC;

            }
        }


        #endregion



        protected void Page_Load(object sender, EventArgs e)
        {
            if (TelId == 0)
            {
                Response.Write("请选择一条通话记录以查看明细");
                Response.End();
            }

            DataBind();
            // this.AddLog(Permission.查看, GetSql());
        }

        protected void DataBind()
        {

           
        }
    }
}